import {User} from "../../pb/User";

export class UserService{

    static async findOneByUser(user: User) {
        return new User({
            userId:"1",
            name:'张三',
            headImg:'',
            salt:'123'
        });
    }

    static create(user: User) {
        return Promise.resolve(undefined);
    }
}